package com.hiray.restcache.api.res

import com.google.gson.annotations.SerializedName



data class IndexData(
//    @SerializedName("rewardList")
//                     var reward: List<Diamond>,
                     @SerializedName("user_info")
                     var userInfo: LoginResponseBody,
                     @SerializedName("notices_point")
                     var notice: Int,
//                     var game: Game,
                     @SerializedName("game0")
                     var recommedation: HomeRecommend)

data class HomeRecommend(
    @SerializedName("name")
    var title: String?,
    @SerializedName("url_type")
    var type: Int,
    @SerializedName("url")
    var link: String?,
    @SerializedName("img")
    var iconUrl: String?) {
    override fun toString(): String {
        return "HomeRecommend(title=$title, type=$type, link=$link, iconUrl=$iconUrl)"
    }
}